package com.hjm.java.entity;

public class Order extends com.hjm.ui.order.entity.Order{
    /**
     * {
     *       "id": 2,
     *       "goodsId": 6,
     *       "goodsType": "512GB 固态硬盘",
     *       "goodsNum": 2,
     *       "state": 1,
     *       "userId": 1,
     *       "txAddr": 2,
     *       "rxAddr": 1,
     *       "orderId": 2,
     *       "storeId": 2,
     *       "storeName": "asus华硕官方旗舰店",
     *       "goodsIconId": 50,
     *       "goodsName": "【爆款笔记本】华硕天选4/5Pro 14代酷睿i7 15.6/16英寸高性能游戏本笔记本电脑40系独显学生设计电竞本",
     *       "price": 7799
     *     }
     *     其中一部分属性继承com.hjm.ui.order.entity.Order
     */

    private Integer txAddr;
    private Integer rxAddr;
    private Integer userId;
    private Integer storeId;
    private String storeName;
    private Integer state;


    public Order() {
    }

    public Integer getTxAddr() {
        return txAddr;
    }

    public void setTxAddr(Integer txAddr) {
        this.txAddr = txAddr;
    }

    public Integer getRxAddr() {
        return rxAddr;
    }

    public void setRxAddr(Integer rxAddr) {
        this.rxAddr = rxAddr;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {

        return super.toString()+"sub {" +
                "txAddr=" + txAddr +
                ", rxAddr=" + rxAddr +
                ", userId=" + userId +
                ", storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", state=" + state +
                '}';
    }
}
